//
//  InputCodeViewController.h
//  AppleMarket
//
//  Created by yangy on 24/10/2018.
//  Copyright © 2018 szgsy. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger,CodeType)
{
    CodeTypeLogin,   // 登录
    CodeTypeSignup,  // 注册
    CodeTypeForgotLoginPwd,
    CodeTypeGoogleCode,
    CodeTypeDoChangeStrategy,
    CodeTypeDoAuthIdentity,
    CodeTypeDoAuthIdentitySenior,
    CodeTypeDoAuthAccount,
    CodeTypeDoAuthAccountModify,
    CodeTypeDoAuthGoogle,
    CodeTypeDoAuthGoogleClose,
    CodeTypeDoAuthLoginPwd,
    CodeTypeDoAuthSafePwd,
    CodeTypeDoAuthSafePwdModify,
    CodeTypeDoForgotLoginPwd,
    CodeTypeDoForgotSafePwd,
    CodeTypeDoWithdraw,
    CodeTypeAddWithdrawAddr,
    CodeTypeDoMutualTransfer
};

NS_ASSUME_NONNULL_BEGIN
@class ImageCodeMoel;
@interface InputCodeViewController : UIViewController
@property (nonatomic, assign) CodeType codeType;
@property (nonatomic, strong) void (^completeHandler)(ImageCodeMoel *codeModel,NSString *inputCodeStr);

+ (instancetype) inputCodeViewControllerWithCodeType:(CodeType) codeType;
@end

NS_ASSUME_NONNULL_END
